

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>流程表单数据字典</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="../../../../static/lib/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../../../static/lib/layuiadmin/style/admin.css" media="all">
    <style>
        html,body{height: 100%;}
        .layui-fluid{height: 95%;}
        .layui-row,.layui-col-xs6,.layui-card,.layui-col-xs6{height: 97%;}
    </style>

</head>
<body>


<div class="layui-fluid" id="LAY-component-grid-mobile">
    <div class="layui-row layui-col-space5">
        <div class="layui-col-xs12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="" style="border-bottom:0;padding:0;">
                        <form class="layui-form" action="">
                            <table style="width:98%; table-layout:fixed;">
                                <tr>
                                    <td style='width:80px'>
                                        <a id="save" class="layui-btn layui-btn-sm st_back1"  onclick="save()" > 确  定</a>
                                    </td>
                                </tr>
                            </table>
                        </form>
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-col-xs6">
            <div class="layui-card">
                <div class="layui-card-header" style="height: 35px">字典</div>
                <div class="layui-card-body">
                    <div class="" style="border-bottom:0;padding:0;margin-bottom: 10px;">
                        <form class="layui-form" action="">
                            <table style="width:98%; table-layout:fixed;">
                                <tr>
                                    <td style='width:80px'>
                                        <a id="addPBtn" class="layui-btn layui-btn-xs st_back1"  onclick="addParent()" > <i class="layui-icon">&#xe654;</i> 增加</a>
                                    </td>
                                </tr>
                            </table>
                        </form>
                    </div>
                    <div id="wfDictionaryP" title="" showHeader="true"   url="/wf/dictionary/parentList"
                         sizeList="[10,20,50,100]" pageSize="10" onrowclick="rootClick" onrowdblclick="" page="true" singleSelect="true" style="margin-top: 10px;" height="480">
                        <div property="columns" style="display: none;">
                            <div field='cnName' width="52%"   headerAlign='center' allowSort='true'>字典名称</div>
                            <div field='dictionaryId' headerAlign='center' allowSort='true' renderer="codeRootEdit">编辑</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-col-xs6">
            <div class="layui-card">
                <div class="layui-card-header" style="height: 35px">字典内容<span id="parentName" style="color: red"></span></div>
                <div class="layui-card-body">
                    <div class="" style="border-bottom:0;padding:0;margin-bottom: 10px;">
                        <form class="layui-form" action="">
                            <table style="width:98%; table-layout:fixed;">
                                <tr>
                                    <td style='width:80px'>
                                        <a id="addBtn" class="layui-btn layui-btn-xs st_back1"  onclick="addChild()" > <i class="layui-icon">&#xe654;</i> 增加</a>
                                    </td>
                                </tr>
                            </table>
                        </form>
                    </div>
                    <div id="wfDictionaryC" title="" showHeader="true"   url="/wf/dictionary/list"
                         sizeList="[10,20,50,100]" pageSize="20" style="margin-top: 10px;" page="false" height="480">
                        <div property="columns" style="display: none;">
                            <div field='cnName' width="40%"  headerAlign='center' allowSort='true'>字典名称</div>
                            <div field='value' width="30%"  headerAlign='center' allowSort='true' >字典值</div>
                            <div field="dictionaryId"   headerAlign="center" allowSort="false" cellStyle="text-align:center;"  renderer="codeRootEdit2">操作</div>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>

<script src="../../../../static/lib/layuiadmin/layui/layui.js"></script>
<script src="../../../common/common.js"></script>
<script src="../../../common/jquery-3.3.1.min.js"></script>
<script src="../../../common/listTree.js"></script>
<script src="../../../common/dataGrid.js"></script>
<script src="js/wfDictionaryList.js"></script>
</body>
</html>